package com.example.myspringframework.test;

import com.example.myspringframework.context.annotation.Autowired;
import com.example.myspringframework.context.annotation.Qualifier;
import com.example.myspringframework.stereotype.Component;

@Component
public class HelloService {
    @Autowired
    private User user;
    public void sayHello() {
        System.out.println("HelloWorld!"+user);
    }
}
